<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>修改信息</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="shortcut icon" type="image/x-icon" href="https://wwl.ycws.cc/image/backgroundimage/e.ico">
	<style type="text/css">
		#preview1{width:170px;height:190px;border:1px solid #000;overflow:hidden; text-align: center;}
		#preview2{width:170px;height:190px;border:1px solid #000;overflow:hidden; text-align:center;}
		#preview3{width:170px;height:190px;border:1px solid #000;overflow:hidden; text-align:center;}
		#imghead {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=image);}
	</style>
  </head>
  <script src="js/jquery-1.8.3.js"></script>
  <script type="text/javascript">
		$(document).ready(function(){
			$("#return").click(function(){
				alert(123);
			});
		});
	</script>
	
  <body>
	<div align="center">
	<div>
	 	<c:if test="${result==1}">
	<div style="padding-top:5px; ">
	<form id="addform" action="<%=path%>/pc/update_id" method="post" enctype="multipart/form-data">
	<table border="1"  cellpadding="0" cellspacing="0" align="center">
	<tr align="center" >
		<td width="200" colspan="3"><font style="font-size: 30px; text-align: right; margin-top: 30px;">详细信息</font></td>
	</tr>
	<tr>
		<td align="center"><div id="preview1"><img alt="" src="${uploads.yfilename}" id="imghead1" width="150" height="200"></div></td>
		<td align="center"><div id="preview2"><img alt="" src="${uploads.yfilename1}" id="imghead2" width="150" height="200"></div></td>
		<td align="center"><div id="preview3"><img alt="" src="${uploads.yfilename2}" id="imghead3" width="150" height="200"></div></td>
	</tr>
	<tr>
		<td height="40" width="160px;" align="right">姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名:</td>
		<td colspan="2" align="left"><input type="text" name="yname" id="yname" value="${uploads.yname}" disabled="disabled" style="width: 270px; height: 30px;"/></td>
	</tr>
	<tr>
		<td height="40" align="right">姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别:</td>
		<td colspan="2" align="left"><input type="text" name="ysex" id="ysex" value="${uploads.ysex}" disabled="disabled" style="width: 270px; height: 30px;"/></td>
	</tr>
	<tr>
		<td height="40" align="right">户&nbsp;主&nbsp;关&nbsp;系:</td>
		<td colspan="2" align="left"><input type="text" name="yowner" value="${uploads.yowner}" disabled="disabled" style="width: 270px; height: 30px;"/></td>
	</tr> 
	<tr>
		<td height="40"  align="right">手&nbsp;机&nbsp;号&nbsp;码:</td>
		<td  colspan="2" align="left"><input type="text" name="yphone" id="yphone" value="${uploads.yphone}" disabled="disabled"  style="width:270px; height:30px;" /></td>
	</tr>    
	<tr>
		<td height="40" align="right">小&nbsp;区&nbsp;地&nbsp;址:</td>
		<td  colspan="2" align="left"><input type="text" name="yaddress" value="${uploads.yaddress}" disabled="disabled"  style="width:270px; height:30px;" /></td>
	</tr>    		
	<tr>
		<td height="40" align="right">单&nbsp;元&nbsp;楼&nbsp;室:</td>
		<td  colspan="2" align="left"><input type="text" name="ydetailed" id="ydetailed" value="${uploads.ydetailed}" disabled="disabled" style="width:270px; height:30px;"/></td>
	</tr>
	<c:if test="${uploads.yindex==0}">
        <tr>
			<td height="40" align="right">是&nbsp;否&nbsp;支&nbsp;付:</td>
			<td  colspan="2" align="left"><input type="text" name="yindex" value="未付款" disabled="disabled" style="width:270px; height:30px;"/></td>
		</tr>
    </c:if>
    <c:if test="${uploads.yindex==1}">
       <tr>
			<td height="40" align="right">是&nbsp;否&nbsp;支&nbsp;付:</td>
			<td  colspan="2" align="left"><input type="text" name="yindex" value="已支付" disabled="disabled" style="width:270px; height:30px;"/></td>
       </tr>
     </c:if>
	<tr>
		<td height="40" align="right">创&nbsp;建&nbsp;时&nbsp;间:</td>
		<td  colspan="2" align="left"><input type="text" name="createtime" value="${uploads.createtime}" disabled="disabled" style="width:270px; height:30px;"/></td>
	</tr>
	<tr>
		<td height="40" align="right">更&nbsp;改&nbsp;时&nbsp;间:</td>
		<td  colspan="2" align="left"><input type="text" name="updatetime" value="${uploads.updatetime}" disabled="disabled" style="width:270px; height:30px;"/></td>
	</tr>
	
	<tr>
		<td height="40" align="right">标&nbsp;&nbsp;&nbsp;示&nbsp;&nbsp;符:</td>
		<td colspan="2" align="left"><input type="text" name="yid" value="${uploads.ynumber}" disabled="disabled" style="width: 270px; height: 30px;"/></td>
	</tr>
	<tr align="center">
		<td colspan="3" height="40px;"><input type="button" onclick="location.href='javascript:history.go(-1)'" value="返回" style="width: 500px; height: 40px; background-color: #44BB44; color: white; font-size: 20px;"/></td>
	</tr>
	</table>	
	</form>
	</div>
	</c:if>
	</div>
	</div>
	<c:if test="${empty result}">
	<a href="login.jsp">请登录</a>
	</c:if>
	</body>
</html>
